package main

import (
	"github.com/gin-gonic/gin"
	"week4/retailers/api-client/basic/appconfig"
	"week4/retailers/api-client/basic/inits"
	"week4/retailers/api-client/router"
)

func main() {
	appconfig.Init()
	inits.InitConsul()
	r := gin.Default()
	router.LoadRand(r)
	r.Run() // 监听并在 0.0.0.0:8080 上启动服务
}
